********************************************
*****************OVERVIEW*******************
********************************************

Comparative Political Studies (CPS) Dataverse Replication materials: "Revisiting the Impact of Modernization on Support for Women Politicians" by Anja Neundorf and Rosalind Shorocks 

Below is a description of the data files, the analysis files, and the codebook, as well as step-by-step instructions for the replication of the content of all figures and associated discussion in the article and Supporting Information.


********************************************
***********COMPUTER ENVIRONMENT**************
********************************************

Operating system: Mac OS Monterey (2.4 GHz Quad-Core Intel Core i5; 8 GB 1600 MHz DDR3)
Statistical software versions: Stata/MP 16.1 for Mac (64-bit Intel)
Stata Packages used in analysis: outreg2


********************************************
**********REPLICATING THE ANALYSIS**********
********************************************

************
**Necessary Files
************

Gender_Manuscript.do: Code to replicate all tables and figures presented in the manuscript 
Gender_Appendix.do: Code to replicate all tables and figures presented in the appendix
MergedData_Gender.dta: Data that includes both micro and macro data 
MacroData_Gender.dta: Macro data used for descriptive graphs and tables
MacroData_Gender_long.dta: Macro data used for descriptive graphs and tables


************
**Instructions and Further Description
************
1. Download all of the necessary files to your computer. Create three sub-folder: 1) Data, 2) Graphs, 3) Results. Save the .dta files in the Data-folder. 

2. Set your working directory in Stata to the folder in which you stored all of the necessary files and sub-folders. 

3. Replicate the analyses in the main text. Open and run �Gender_Manuscript.do�. The included code will reproduce the content shown in the figures displayed in the main text. It also provides code for analyses behind claims made in the main text. 

4. Replicate the analyses in the Supporting Information. Open and run �Gender_Appendix.do�. The included code will reproduce the content shown in the figures displayed in the Supporting Information. It also provides code for analyses behind claims made in the Supporting Information. 


********************************************
****************DATA PREPERATION *****************
********************************************
We provide our working datasets that were created from the following sources:
V-Dem version 8.1
World/ European Value Survey, 1994-2014
Latinobarometer, 2004, 2009
Afrobarometer, 2005-2015
Americas Barometer, 2008-2014

To create the master micro dataset, additional information on the data harmonisation and do-files can be accessed here: https://globalcitizenpolitics.net/data/ 

Code to create the working files for this paper:
Gender_DataPrep.do: Code that created both the micro and macro data used in the paper. 
Label_Cntry.do: Recoding of country labels. This file is used when creating the datasets.
CreateModernisation.do: Creating modernisation index


********************************************
****************OTHER FILES*****************
********************************************
readme.txt: This file


********************************************
************REPLICATION CONTACT*************
********************************************

Anja Neundorf
University of Glasgow
Anja.Neundorf@glasgow.ac.uk
http://www.aneundorf.net 
